package com.datang.pet.mapper;

import com.datang.pet.pojo.TalkTwoTierComment;
import com.datang.pet.pojo.TalkTwoTierCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TalkTwoTierCommentMapper {
    long countByExample(TalkTwoTierCommentExample example);

    int deleteByExample(TalkTwoTierCommentExample example);

    int deleteByPrimaryKey(String id);

    int insert(TalkTwoTierComment record);

    int insertSelective(TalkTwoTierComment record);

    List<TalkTwoTierComment> selectByExample(TalkTwoTierCommentExample example);

    TalkTwoTierComment selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TalkTwoTierComment record, @Param("example") TalkTwoTierCommentExample example);

    int updateByExample(@Param("record") TalkTwoTierComment record, @Param("example") TalkTwoTierCommentExample example);

    int updateByPrimaryKeySelective(TalkTwoTierComment record);

    int updateByPrimaryKey(TalkTwoTierComment record);
}